<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>服务结算单</title>
</head>
<style>

</style>
<style >
    table{border-collapse: collapse;table-layout:fixed;}
    table tr{height: 7.82mm;}
</style>
<body>

<!--<p><a href="javascript:prn1_preview();">打印预览</a></p>-->

<div id="header_1" >
    <table border=0 width="100%" cellspacing="0" cellpadding="0" style="border-collapse:collapse" bordercolor="#000000">
        <caption style="height: 42pt;"><b style="float:left;"><img src="../../../../static/images/logo.jpg" /></b></caption>
        <caption><b style="font-size: 7.2mm;">{$head_title}</b></caption>
        <tr style="height: 18pt">
            <td colspan="8" >
                <div style="text-align: right;padding: 5pt 30pt;" >
                    第<font tdata="PageNO" format="ChineseNum" color="blue">##</font>页</span>，共<font tdata="PageCount" format="ChineseNum" color="blue">##</font></span>页
                </div>
            </td>
        </tr>
        <tr style="height: 18pt">
            <td colspan="8" style="border-top: 1.5pt solid rgb(128,128,128);padding:1.5pt">
                <font >单位名称：<span>济南恭德陵园</span></font>
            </td>
        </tr>
        <tr style="height: 18pt">
            <td colspan="8">
                <div style="width: 33.3%;float:left;"><font >地&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;址：<span >济南市柳埠镇柳东村</span></font></div>
                <div style="width: 33.3%;float:left;"><font >电&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;话：<span>0531-82841666</span></font></div>
                <div style="width: 33.3%;float:left;"><font >传&nbsp;&nbsp;真：<span></span></font></div>
            </td>
        </tr>
        <tr style="height: 18pt">
            <td colspan="8" style="border-bottom: 1pt solid rgb(128,128,128);"><font >网&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;址：<span>www.sdgdly.com</span></font></td>
        </tr>
        <tr style="height: 18pt">
            <td colspan="8">
                <div style="width: 33%;float:left;"><font >客户姓名：<SPAN>{$result['buyer_name']}</SPAN></font> </div>
                <div style="width: 24%;float:left;"><font >证件类型：<SPAN>{:cart_type('cart',$result.cart_type)}</SPAN></font> </div>
                <div style="width: 43%;float:left;"><font >证件号码：<SPAN>{$result['customer_account']}</SPAN></font> </div>
            </td>
        </tr>
        <tr style="height: 18pt">
            <td colspan="8">
                <div style="width: 100%;float:left;"><font >联系地址：<SPAN>{$result['customer_address']}</SPAN></font></font> </div>
            </td>
        </tr>
        <tr style="height: 18pt">
            <td colspan="8">
                <div style="width: 33%;float:left;"><font >合同编号：<SPAN>{$result['contract_sn']}</SPAN></font> </div>
                <div style="width: 24%;float:left;"><font >墓位编号：<SPAN>{$result['tomb_num']}</SPAN></font> </div>
                <div style="width: 43%;float:left;"><font >具体位置：<SPAN>{$result['tomb_region']}</SPAN></font></div>
            </td>
        </tr>
        <tr style="height: 18pt">
            <td colspan="8">
                <div style="width: 33%;float:left;"><font >墓穴规制：<span>{$result['tomb_regulation_name']}</span></font></div>
                <div style="width: 24%;float:left;"><font >墓穴状态：<span>{$result['col_status_name']}</SPAN></span></font></div>
                <div style="width: 43%;float:left;"><font >操&nbsp;&nbsp;&nbsp;作：<SPAN id="operate_name">{$operate_name}</SPAN></font> </div>
            </td>
        </tr>
        <tr style="height: 18pt">
            <td colspan="8" style="border-bottom: 1.5pt solid rgb(128,128,128);border-top: 1pt solid rgb(128,128,128);padding: 2pt 0;">
                <font >购买结算：<span></span></font>
            </td>
        </tr>
        </thead>
    </table>
</div>
<div id="body_2" >
    <TABLE border="0" width="100%" cellspacing="0" cellpadding="0" style="border-collapse:collapse" bordercolor="#000000">
        <thead>
        <TR>
            <td >序号</td>
            <td >项目名称</td>
            <td>数量</td>
            <td>单位</td>
            <td >单价(元)</td>
            <td >优惠</td>
            <td >金额(元)</td>
            <td >备注</td>
        </thead>
        <tbody>
        <if condition="$if_for eq 1">
            <foreach name="list" item="vo">
                <tr>
                    <td>{$key+1}</td>
                    <td colspan="2">{$vo['name']|default=''}</td>
                    <td>{$vo['num']|default=''}</td>
                    <td>{$vo['unit']|default=''}</td>
                    <td>{$vo['unitprice']|default=''}</td>
                    <td>{$vo['free_price']|default=''}</td>
                    <td>{$vo['price']|default=''}</td>
                    <td colspan="4">{$vo['remark']|default=''}</td>
                </tr>
            </foreach>
            {$count_num}
            <else/>
                <tr>
                    <td>1</td>
                    <td >{$list['name']}</td>
                    <td>{$list['num']|default=''}</td>
                    <td>{$list['unit']|default=''}</td>
                    <td>{$list['unitprice']|default=''}</td>
                    <td>{$list['free_price']|default=''}</td>
                    <td>{$list['price']|default=''}</td>
                    <td  colspan="3">{$list['remark']|default=''}</td>
                </tr>
                <for start="2" end="12" step="1" >
                    <tr >
                        <td  colspan="10"></td>
                    </tr>
                </for>
        </if>
        </tbody>
        <tfoot>
        <tr  >
            <td colspan="6" style="border-top: 1pt solid rgb(128,128,128)"><b>合计</b></td>
            <td colspan="4" style="border-top: 1pt solid rgb(128,128,128)" >￥<font tdata="subSum" format="#,##0.00" align="right"  tindex="7" > ###元</font></td>
        </tr>
        </tfoot>
    </TABLE>

</div>
<div id="tfoot_3" >
    <div style="line-height: 18pt; border-top: 1pt solid rgb(128,128,128);" align=left ><font >  温馨提示</font></div>
    <div style="line-height: 18pt;border-top:  1px solid rgb(128,128,128);" align=left><font >1.墓穴管理维护期20年为一期，以首位逝者使用之日起计算。</font></div>
    <div style="line-height: 18pt" align=left><font >2.碑文金箔等工艺制作，质保期为 三 年，请勿用水擦拭。</font></div>
    <div style="line-height: 18pt" align=left><font >3.其他业务详细内容请参照相关业务表或协议。</font></div>
    <div style="line-height: 18pt;" align=left><font >4.如您预约的服务有变化，请及时与我们联系。</font></div>
    <div style="line-height: 25pt;border-bottom:  1.5pt solid rgb(128,128,128);" align=center>
        <div style="line-height: 25pt;width: 25%;float:left;"><font >经办人：<span>{$handle_name}</span></font></div>
        <div style="line-height: 25pt;width: 25%;float:left;"><font >收款人：<span>{$pay_user}</span></font></div>
        <div style="line-height: 25pt;width: 25%;float:left;"><font >客户签名：<span></span></font></div>
        <div style="line-height: 25pt;width: 25%;float:left;"><font >日期：<span>{$pay_time}</span></font></div>
    </div>
</div>

</body>
</html>
